Optimal. Leaf size=69 \[ -\frac{b (A b-a B) \log \left (a+b x^3\right )}{3 a^3}+\frac{b \log (x) (A b-a B)}{a^3}+\frac{A b-a B}{3 a^2 x^3}-\frac{A}{6 a x^6} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.173916, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ -\frac{b (A b-a B) \log \left (a+b x^3\right )}{3 a^3}+\frac{b \log (x) (A b-a B)}{a^3}+\frac{A b-a B}{3 a^2 x^3}-\frac{A}{6 a x^6} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x^3)/(x^7*(a + b*x^3)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.659, size = 63, normalized size = 0.91 \[ - \frac{A}{6 a x^{6}} + \frac{A b - B a}{3 a^{2} x^{3}} + \frac{b \left (A b - B a\right ) \log{\left (x^{3} \right )}}{3 a^{3}} - \frac{b \left (A b - B a\right ) \log{\left (a + b x^{3} \right )}}{3 a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x**3+A)/x**7/(b*x**3+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0520568, size = 70, normalized size = 1.01 \[ \frac{6 b x^6 \log (x) (A b-a B)-a \left (a A+2 a B x^3-2 A b x^3\right )+2 b x^6 (a B-A b) \log \left (a+b x^3\right )}{6 a^3 x^6} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x^3)/(x^7*(a + b*x^3)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.012, size = 81, normalized size = 1.2 \[ -{\frac{A}{6\,a{x}^{6}}}+{\frac{Ab}{3\,{a}^{2}{x}^{3}}}-{\frac{B}{3\,a{x}^{3}}}+{\frac{A\ln \left ( x \right ){b}^{2}}{{a}^{3}}}-{\frac{bB\ln \left ( x \right ) }{{a}^{2}}}-{\frac{{b}^{2}\ln \left ( b{x}^{3}+a \right ) A}{3\,{a}^{3}}}+{\frac{b\ln \left ( b{x}^{3}+a \right ) B}{3\,{a}^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x^3+A)/x^7/(b*x^3+a),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.38469, size = 95, normalized size = 1.38 \[ \frac{{\left (B a b - A b^{2}\right )} \log \left (b x^{3} + a\right )}{3 \, a^{3}} - \frac{{\left (B a b - A b^{2}\right )} \log \left (x^{3}\right )}{3 \, a^{3}} - \frac{2 \,{\left (B a - A b\right )} x^{3} + A a}{6 \, a^{2} x^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)/((b*x^3 + a)*x^7),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.231414, size = 99, normalized size = 1.43 \[ \frac{2 \,{\left (B a b - A b^{2}\right )} x^{6} \log \left (b x^{3} + a\right ) - 6 \,{\left (B a b - A b^{2}\right )} x^{6} \log \left (x\right ) - 2 \,{\left (B a^{2} - A a b\right )} x^{3} - A a^{2}}{6 \, a^{3} x^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)/((b*x^3 + a)*x^7),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 5.11497, size = 61, normalized size = 0.88 \[ - \frac{A a + x^{3} \left (- 2 A b + 2 B a\right )}{6 a^{2} x^{6}} - \frac{b \left (- A b + B a\right ) \log{\left (x \right )}}{a^{3}} + \frac{b \left (- A b + B a\right ) \log{\left (\frac{a}{b} + x^{3} \right )}}{3 a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x**3+A)/x**7/(b*x**3+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.217367, size = 134, normalized size = 1.94 \[ -\frac{{\left (B a b - A b^{2}\right )}{\rm ln}\left ({\left | x \right |}\right )}{a^{3}} + \frac{{\left (B a b^{2} - A b^{3}\right )}{\rm ln}\left ({\left | b x^{3} + a \right |}\right )}{3 \, a^{3} b} + \frac{3 \, B a b x^{6} - 3 \, A b^{2} x^{6} - 2 \, B a^{2} x^{3} + 2 \, A a b x^{3} - A a^{2}}{6 \, a^{3} x^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)/((b*x^3 + a)*x^7),x, algorithm="giac")
[Out]